projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef3862
)
Fix DND tooltip handling with tooltip-reuse-hidden-frame
author
Po Lu
<luangruo@yahoo.com>
Fri, 10 Jun 2022 00:58:51 +0000
(08:58 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 10 Jun 2022 00:58:51 +0000
(08:58 +0800)
* src/xterm.c (x_dnd_update_tooltip_position): Don't move window
if tip_f is not visible.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f0cd5e9c8b83c6a4f63315a47d774fd3317ba52e..77dea3ad4d178aa85637dbbbea065c6319c4d9ae 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-15239,6
+15239,7
@@
x_dnd_update_tooltip_position (int root_x, int root_y)
tip_f = XFRAME (tip_frame);
if (!FRAME_LIVE_P (tip_f)
+ || !FRAME_VISIBLE_P (tip_f)
|| (FRAME_X_DISPLAY (tip_f)
!= FRAME_X_DISPLAY (x_dnd_frame)))
return;